
const state = {
  clashList: [] // 规则链冲突列表
}

const mutations = {
  save: (state, { name, value }) => { state[name] = value }
}

const actions = {
  setClashList({ commit }, list) {
    commit('save', { name: 'clashList', value: list })
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
